<?php
namespace App\Models\store;

use App\Models\Models;
use App\Models\traits\Query;
use Illuminate\Database\Eloquent\SoftDeletes;


class UnStoreModel extends Models{

	use SoftDeletes, Query;
   

    protected $table = 'un_store';

    protected $guarded = [];

    // 获取器        get+字段名+Attribute($value)
    public function getEffectiveTimeAttribute($value) {
        if($value){
        return date('Y-m-d H:i:s', $value);
        }else{
            return '永久';
        }
    }





}














































